package com.pds.web.company.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pds.web.company.domain.PdsCompanyInfo;

import java.util.List;

public interface PdsCompanyInfoMapper extends BaseMapper<PdsCompanyInfo> {

    /**
     * 查询企业列表
     *
     * @param pdsCompanyInfo
     * @return
     */
    List<PdsCompanyInfo> getCompanyList(PdsCompanyInfo pdsCompanyInfo);

    /**
     * 查询企业详细信息
     *
     * @param id 企业ID
     * @return
     */
    PdsCompanyInfo getCompanyById(Long id);

    Long getIdByDeptId(Long deptId);

    Long getDeptIdById(Long id);

    Long getUserIdById(Long id);

    Long getUserIdByDeptId(Long deptId);
}
